package com.jic.market.api.manage;

import com.jic.common.base.vo.RestResult;
import com.jic.market.request.AddSeckillRequest;
import com.jic.market.request.SeckillListRequest;
import com.jic.market.response.AddSeckillResponse;
import com.jic.market.response.PageResponse;
import com.jic.market.response.PromotionResponse;
import com.jic.market.response.SeckillListResponse;

/**
 * 秒杀管理平台接口
 * Created by xuyongliang on 2020/1/9.
 */
public interface SecSkillManageApi {

    /**
     * 秒杀列表
     * @param request
     * @return
     */
    RestResult<PageResponse<PromotionResponse>> secSkillList(SeckillListRequest request);

    void hello(String name);

    /**
     * 秒杀活动添加
     * @param request
     * @return
     */
    RestResult<AddSeckillResponse> doAddSeckill(AddSeckillRequest request);
}
